package kr.hkit.PowerJava.chapter08.work;

public class Programming2 {
    private String title;
    private String author;
public String getTitle(){
    return title;

}
public String getAuthor() {
	return author;
}
public void setAuthor(String author) {
	this.author = author;
}
public void setTitle(String title) {
	this.title = title;
}
@Override
public String toString() {
	return "책 [제목 = " + title + ", 지은이 = " + author + "]";
}
public static void main(String[] args) {
	Programming2 b = new Programming2();
    
	b.setAuthor("요나스 요나손");
	b.setTitle("창문 넘어 도망친 100세 노인");
System.out.println(b);
}
}